﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace WebApplication2.Controllers
{
    public class DefaultController : Controller
    {
        // GET: Default
        public ActionResult Index()
        {
             
            return View();
        }
        [HttpPost]
        public ActionResult Save()
        {
            string name = Request["username"];
            ViewBag.Message = "你输入的名称是:" + name;
            return View();
        }
    }
}